﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DongFangGuoKai.TaskPlatform.Job.OutRoundIssuance.Model
{
    public class OutRoundIssuanceModel
    {
        /// <summary>
        /// 需求部门名
        /// </summary>
        public string? NeedDeptName { get; set; }
        /// <summary>
        /// 领用单id
        /// </summary>
        public int PickingId { get; set; }
        /// <summary>
        /// 领用单号
        /// </summary>
        public string? PickingNumber { get; set; }
        /// <summary>
        /// 领用来源仓库ID
        /// </summary>
        public int? StoreId { get; set; }
        /// <summary>
        /// 领用来源仓库名称  
        /// </summary>
        public string? StoreName { get; set; }
        /// <summary>
        /// 领用单明细
        /// </summary>
        public List<OutRoundIssuanceDetailModel>? Items { get; set; }
    }

    public class OutRoundIssuanceDetailModel
    {
        /// <summary>
        /// 批次号
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 物资编码
        /// </summary>
        public string? MaterialCode { get; set; }
        /// <summary>
        /// 物资名称
        /// </summary>
        public string? MaterialName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? MaterialNorms { get; set; }
        /// <summary>
        /// 领用数量
        /// </summary>
        public int? PickingCount { get; set; }
        /// <summary>
        /// 关联单Id
        /// </summary>
        public int? PickingId { get; set; }
        /// <summary>
        /// 物资明细id
        /// </summary>
        public int? PickingItemId { get; set; }
        /// <summary>
        /// 出库仓位ID
        /// </summary>
        public string? StoreLocationId { get; set; }
    }
}
